package com.photography.service;

import com.photography.entity.PageResult;
import com.photography.pojo.Product;

import java.util.List;

public interface ProductService {

    public PageResult<Product> findAll(Product product,int page, int rows);

    public Product findById(String id);

    public void addProduct(Product product);


    public void updateProduct(Product product);

    void updateStatusProduct(String id);

    List<Product> findAllList();
}
